package com.qf.smsplatform.mapper;
/*2021/10/31*/

import com.qf.smsplatform.pojo.TClientBusiness;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @YuTao
 */

public interface TClientBusinessMapper {

    @Select("select * from t_client_business")
    List<TClientBusiness> selectAll();

    void updateBusiness(TClientBusiness tClientBusiness);
    @Insert("insert into t_client_business(corpName,userCode,pwd,ipAddress,isReturnStatus,receiveStatusUrl,priority,userType,state,mobile,money) values (#{corpName},#{userCode},#{pwd},#{ipAddress},#{isReturnStatus},#{receiveStatusUrl},#{priority},#{userType},#{state},#{mobile},#{money}")
    void insertBusiness(TClientBusiness tClientBusiness);

    @Delete("delete from t_client_business where id = #{id}")
    void deleteBusiness(int id);
}
